home *** CD-ROM | disk | FTP | other *** search
/ Suzy B Software 2 / Suzy B Software CD-ROM 2 (1994).iso / extras / programm / gemfsc20 / gemfsc20.lzh / GEMFBIND / VSCURADD.S < prev    next >
Text File  |  1993-03-16  |  949b  |  36 lines

  1. ;*========================================================================
  2. ;* VDIFAST Public Domain VDI bindings.
  3. ;*========================================================================
  4.  
  5.  
  6. ;*-----------------------------------------------------------------------
  7. ;* Direct alpha cursor address.
  8. ;*-----------------------------------------------------------------------
  9.  
  10.           globl     _vs_curaddress
  11. _vs_curaddress:
  12. ;    .cargs    #8,handle.w,row.w,col.w
  13.  
  14. handle      =         8
  15. row       =         10
  16. col       =         12
  17.  
  18.           link        a6,#0
  19.  
  20. ;          VContrl    #5,#11,,#2
  21.           move.w    handle(a6),-(sp)    ; contrl[6]
  22.           move.w    #11,-(sp)            ; contrl[5]
  23.           subq.l    #2,sp                ; contrl[4]
  24.           move.w    #2,-(sp)            ; contrl[3]
  25.           subq.l    #2,sp                ; contrl[2]
  26.           clr.w     -(sp)                ; contrl[1]
  27.           move.w    #5,-(sp)            ; contrl[0]
  28.  
  29.           lea        -12(sp),sp            ;* -> ptsout, intout, ptsin
  30.           pea        row(a6)             ;* -> intin
  31.           pea        16(sp)                ;* -> contrl
  32.  
  33.           jmp        vdicall
  34.  
  35.           end
  36.